package com.funo.wcity.app.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.funo.wcity.app.dao.TblIpMailDAO;
import com.funo.wcity.app.entity.TblIpMail;
import com.funo.wcity.app.service.TblIpMailService;

@Service("tblIpMailService")
public class TblIpMailServiceImpl implements TblIpMailService {
   @Resource(name="tblIpMailDAO")
   private TblIpMailDAO tblIpMailService;
	 
	public TblIpMail getTblIDMail(Integer idIpMail) {
		
		return this.tblIpMailService.get(idIpMail);
	}

	 
	public void saveTblIDMail(TblIpMail tblIpMail) {
		this.tblIpMailService.saveOrUpdate(tblIpMail);
	}

}
